package ar.com.personalTravellers.services;

import ar.com.personalTravellers.beans.Client;
import ar.com.personalTravellers.beans.Country;
import com.angel.arquitectura.service.GenericService;

import java.util.Collection;

/**
 * TODO Write a comment here.
 *
 * @author William
 * @since 27/05/2009
 */
public interface ClientService extends GenericService {


    public Collection<Client> findAllByName(String clientName);

    public Collection<Client> findAllBySurName(String clientSurname);

    public Client findUniqueByNameAndSurname(String clientName, String clientSurname);

    public Collection<Client> findAllByCountry(Country country);

    public Client findUniqueByEmail(String email);

    public Client findUniqueByTelephone(String telephone);

    public Client findUniqueOrNullByNameSurnameAndEmail(String clientName, String clientSurname, String email);

    public Boolean existByNameSurnameAndEmail(String clientName, String clientSurname, String email);

}